<?php
	if(is_array($_POST['reply_id'])) {
		$reply_id = $_POST['reply_id'];
		$sql = "UPDATE `tbl_webboard_reply` SET `status` = '2' WHERE `reply_id` IN (". implode (',',$reply_id) .")";
	} else {
		$reply_id = $params[1];
		$sql = "UPDATE `tbl_webboard_reply` SET `status` = '2' WHERE `reply_id` = '$reply_id' LIMIT 1";
	}
	mysql_query($sql);
	exit;
?>